package org.codetranslators.compiler.tiger.abssyntree;


public class TypeDec extends Dec {
   private Symbol name;
   private Ty ty;
   private TypeDec next;
   public TypeDec(int p, Symbol n, Ty t, TypeDec x) 
   {
	   pos=p; 
	   name=n;
	   ty=t; 
	   next=x;
   }
   
   public Symbol getName()
   {
	   return name;
   }
   
   public Ty getTypeCategory()
   {
	   return ty;
   }
}
